package com.qf.service.impl;

import com.qf.dao.TakeOutGoodsClassifyMapper;
import com.qf.pojo.entity.GoodsClassify;
import com.qf.pojo.resp.BaseResp;
import com.qf.service.TakeOutGoodsClassifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName TakeOutGoodsClassifyServiceImpl
 * @Description TODO
 * @Author 16222
 * @Date 2022/9/28 20:09
 * @Version 1.0
 **/
@Service
public class TakeOutGoodsClassifyServiceImpl implements TakeOutGoodsClassifyService {
    @Autowired
    TakeOutGoodsClassifyMapper takeOutGoodsClassifyMapper;

    @Override
    public BaseResp findAllGoodsClassifyByStoreId(int id) {
        List<GoodsClassify> allGoodsClassifyByStoreId = takeOutGoodsClassifyMapper.findAllGoodsClassifyByStoreId(id);
        return new BaseResp(200,"success",allGoodsClassifyByStoreId );
    }
}
